WooCommerce\PayPalCommerce\Settings\Service\AuthenticationManager S

Total Complexity 38
Dependencies 18
Dependents 2
Total lines 438
Lines of code 170
Logical lines of code 120
Comment lines 192
Methods 16
Properties 7

Methods 16

Method Rating Maintainability Complexity Lines of code
handle_oauth_authentication()
S
53 6 21
request_payee()
S
49 5 26
enrich_merchant_details()
S
52 5 25
validate_id_and_secret()
S
63 4 11
retrieve_oauth_connection_details()
S
62 3 11
validate_id_and_auth_code()
S
68 3 8
update_connection_details()
S
60 2 14
__construct()
S
65 2 9
get_account_details()
S
77 1 3
disconnect()
S
66 1 9
authenticate_via_direct_api()
S
68 1 6
remember_oauth_connection_details()
S
70 1 5
remove_oauth_connection_details()
S
81 1 3
authenticate_via_oauth()
S
63 1 10
get_credentials()
S
68 1 6
enrichment_failed()
S
77 1 3